import request from '@/utils/request'

const platUrl = 'http://81.70.179.126:9025/backend-api/platform/module/'

// 创建入口模块
export function create(query) {
  return request({
    baseURL: platUrl + 'create',
    method: 'post',
    params: query
  })
}

// 入口模块-列表
export function list(query) {
  return request({
    baseURL: platUrl + 'list',
    method: 'get',
    params: query
  })
}
